import { createRouter, createWebHistory } from 'vue-router';

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      // component: () => import('@/views/Home.vue'),
      component: () => import('@/views/BuildingDemo.vue'),
      // component: () => import('@/views/SpaceAssembler.vue'),
      // component: () => import('@/views/FieldDemo.vue'),
      // component: () => import('@/views/Device.vue'),
      // component: () => import('@/components/ShapeEditor.vue'),
    },
    {
      path: '/building',
      name: 'building',
      component: () => import('@/views/BuildingDemo.vue'),
    },
    {
      path: '/field',
      name: 'field',
      component: () => import('@/views/FieldDemo.vue'),
    },
    {
      path: '/space',
      name: 'space',
      component: () => import('@/views/SpaceAssembler.vue'),
    },
  ],
});

export default router;
